package com.ngc.mall.service;

import com.ngc.mall.domain.UserIntegralLogDomain;
import com.ngc.mall.domain.UserIntegralTaskDomain;
import com.ngc.mall.vo.UserIntegralVO;

import java.time.LocalDateTime;
import java.util.List;

public interface IUserIntegralLogService {
    Boolean sign(Long uid, LocalDateTime now);

    UserIntegralVO getUserIntegralDetail(Long uid, LocalDateTime now);

    List<UserIntegralLogDomain> queryAllUserIntegral();

    Boolean saveSignInTask(Long uid,String tag,LocalDateTime now);

    List<UserIntegralTaskDomain> querySignInTask(Long uid, LocalDateTime now);

    Boolean exchangeIntegralSpu(Long uid,Long integralSpuId);

    List<UserIntegralLogDomain> findByUid(Long uid);
}
